(pgx): Fix display of composite glyphs. Display cmp.from and cmp.to as well.
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 Dec 2009 12:52:50 +0000 (12:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 Dec 2009 12:52:50 +0000 (12:52 +0000)
src/.gdbinit

index 6e717836376869d8f12db9d570f3936deaf7e644..949dfbfd480aa9d3f923e922323b113f1ed55579 100644 (file)
@@ -455,7 +455,7 @@ define pgx
   end
   # COMPOSITE_GLYPH
   if ($g->type == 1)
-    printf "COMP[%d]", $g->u.cmp_id
+    printf "COMP[%d (%d..%d)]", $g->u.cmp.id, $g->u.cmp.from, $g->u.cmp.to
   end
   # IMAGE_GLYPH
   if ($g->type == 2)